import React from 'react';
import { Provider } from 'react-redux'
import store from './store'
import { BrowserRouter as Router } from 'react-router-dom'

import routes from './route'
import { renderRoutes } from 'react-router-config'
function App() {
  return (
    <Provider store={store}>
      {/* <div className='app'>
        
      </div> */}
      <Router>
        {renderRoutes(routes)}
      </Router>
    </Provider>

  );
}

export default App;
